<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>城市</title>
</head>
<body>

<table border="1">
	<thead>
		<tr>
			<th>ID</th>
			<th>城市名字</th>
			<th>国家编号</th>
			<th>地区</th>
			<th>人口</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="city" items="${list}" varStatus="status">
		<tr>
			<td>${city.id}</td>
			<td>${city.name}</td>
			<td>${city.countrycode}</td>
			<td>${city.district}</td>
			<td>${city.population}</td>
		</tr>
		</c:forEach>
	</tbody>
</table>


</body>
</html>